package pe.gob.pj.sri.negocio;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import pe.gob.pj.sri.bean.ActaPase;
import pe.gob.pj.sri.dao.ActaPaseDao;

@Component("ActaPaseNegocio")
public class ActaPaseNegocio {
	@Autowired
	private ActaPaseDao actaPaseDao;
	
	public ActaPase obtenerActaPase(String id) throws Exception{
		return actaPaseDao.obtenerActaPase(id);
	}
	
	public boolean crearActaPase(ActaPase c) throws Exception{
		return actaPaseDao.crearActaPase(c);
	}
	public boolean modificarActaPase(ActaPase c) throws Exception{
		return actaPaseDao.modificarActaPase(c);
	}
	public boolean eliminarActaPase(ActaPase c) throws Exception{
		return actaPaseDao.eliminarActaPase(c);
	}
	public List<ActaPase> listarActaPase() throws Exception{
		return actaPaseDao.listarActaPase();
	}
}
